package com.bestv.search.spider.douban.service;

import com.bestv.search.spider.douban.model.DouBanVideoBaseInfo;

import java.util.Date;
import java.util.List;

public interface DouBanVideoBaseInfoManager {

    List<DouBanVideoBaseInfo> getUnSyncedInfo();

    List<DouBanVideoBaseInfo> getValidInfoBySyncReviewsTime(Date date);

    void saveOrUpdate(List<DouBanVideoBaseInfo> updateList);

    void update(DouBanVideoBaseInfo info);

    List<DouBanVideoBaseInfo> getValidInfos();
}
